<script setup>
useHead({
  title: '闲鱼端口—流量超大的租房获客端口',
  description:
    '闲鱼端口—是闲鱼运营团队开发的租房获客端口，权重高、流量大、客户多，能做到精准引流、小区霸屏、商圈轰炸等，智能发房、素材库海量精装豪装图片使用权限、引流话术、运营咨询、风控规避咨询，是适用于中介、公寓、包租公司等高性价比的自带流量端口推广',
  name: '闲鱼端口—流量超大的租房获客端口',
  keywords: '闲鱼端口,闲鱼租房,闲鱼找房,闲鱼获客,闲鱼端口多少钱,闲鱼端口开通'
})
// 免费开通弹框
function openForm() {}

const moveY = ref(-50) //

const feedbackItems = reactive([
  { image: '/images/product/tfzs/character1.jpg', username: 'A房******34', feedback: '昨天晚上买的，今天就上户了，感觉挺好 性价比很高，可以用一年，一单也就回本了' },
  { image: '/images/product/tfzs/character2.jpg', username: 'A-漫******步-', feedback: '不需要自己发帖简直就是为我这个懒人量身定做的啊，爱了爱了' },
  { image: '/images/product/tfzs/character3.jpg', username: '军哥******哥）', feedback: '新上的闲鱼端口果然不是盖的，流量确实比我同事用的要好很多' },
  { image: '/images/product/tfzs/character4.jpg', username: '包租******66', feedback: '同事推荐的，他用的好我也来试试，谁还嫌客户多呢' },
  { image: '/images/product/tfzs/character5.jpg', username: 'A个******单间)', feedback: '之前自己玩已经被封了两个号了，感谢销售小鱼儿的细心指导，规避了很多风控，不愧是闲鱼专家' }
])

let animationInterval = null
function startScrolling() {
  moveY.value = -50

  animationInterval = setInterval(() => {
    moveY.value = moveY.value - 110

    if (moveY.value < -490) {
      clearInterval(animationInterval)
      moveY.value = -50
      setTimeout(() => {
        startScrolling()
      }, 5000)
    }
  }, 5000)
}

const userStyle = computed(() => {
  return {
    transform: `translateY(${moveY.value}px)`,
    transition: moveY.value === -50 ? '' : 'all 0.2s'
  }
})
onMounted(() => {
  startScrolling()
})
onUnmounted(() => {
  clearInterval(animationInterval)
})
</script>

<template>
  <div class="w-full h-full overflow-hidden">
    <div class="w-full h-728px relative min-w-1200px top-bg">
      <div class="h-459px"></div>
      <img class="w-347px h-86px mx-auto cursor-pointer" src="/public/images/product/tfzs/trafficPortBtn.png" alt="免费开通" @click="openForm" />
    </div>
    <div class="w-1200px mx-auto">
      <div class="w-1200px h-570px relative">
        <div class="main-bg">
          <div class="text-size-50px leading-70px text-hex-000">上架至闲鱼租房</div>
          <div class="text-size-52px leading-73px text-hex-000 mt-12px">享受被客户聊爆的感觉</div>
          <div class="flex mt-30px">
            <div class="flex items-center">
              <img src="/images/product/tfzs/list1.png" alt="好用不贵" class="w-34px h-34px" />
              <div class="leading-34px text-size-26px text-hex-7d7d7d ml-2px">好用不贵</div>
            </div>
            <div class="flex items-center ml-37px">
              <img src="/images/product/tfzs/list2.png" alt="新端口权重高" class="w-34px h-34px" />
              <div class="leading-34px text-size-26px text-hex-7d7d7d ml-2px">新端口权重高</div>
            </div>
            <div class="flex items-center ml-37px">
              <img src="/images/product/tfzs/list3.png" alt="房源数量多" class="w-34px h-34px" />
              <div class="leading-34px text-size-26px text-hex-7d7d7d ml-2px">房源数量多</div>
            </div>
          </div>

          <div class="relative w-666px h-132px bg-hex-f1f4fb mt-90px">
            <div class="w-full h-full overflow-hidden">
              <div class="w-full h-615px pt-50px" :style="userStyle">
                <div v-for="(item, index) in feedbackItems" :key="index" class="pt-30px pl-15px">
                  <div class="flex">
                    <img class="w-57px h-57px blur" :src="item.image" />
                    <div class="w-576px h-80px ml-14px">
                      <div class="text-size-18px leading-24px text-hex-666">
                        {{ item.username }}
                      </div>
                      <div class="h-60px text-size-22px leading-30px text-hex-333">
                        {{ item.feedback }}
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <div class="absolute -top-19px left-0 flex items-center w-156px h-38px bg-hex-FFA600" style="border-radius: 8px 100px 100px 0px">
              <img class="w-34px h-34px" src="/images/product/tfzs/speaker.png" />
              <div class="leading-38px text-size-24px text-white ml-3px">用户反馈</div>
            </div>
          </div>
        </div>
      </div>
      <div>
        <img src="/images/product/tfzs/youshiImg.png" alt="我们的优势所在" class="w-751px h-98px mx-auto" />
        <img src="/images/product/tfzs/vsImg.png" alt="vs" class="w-980px h-100px mx-auto mt-60px" />
        <img src="/images/product/tfzs/vsImg1.png" alt="发房pk" class="w-1140px h-100px mx-auto mt-55px" />
        <img src="/images/product/tfzs/vsImg2.png" alt="获客pk" class="w-1140px h-100px mx-auto mt-55px" />
        <img src="/images/product/tfzs/vsImg3.png" alt="图片pk" class="w-1140px h-100px mx-auto mt-55px" />
      </div>
      <div class="mt-80px">
        <img src="/images/product/tfzs/authorityImg.png" alt="性价比高，出房比备" class="min-w-1200px h-545px" />
      </div>
      <div class="mt-136px">
        <img src="/images/product/tfzs/kehuImg.png" alt="适用客群" class="w-447px h-98px mx-auto" />
        <div class="flex justify-between w-full mt-66px">
          <div class="kehu-item">
            <img src="/images/product/tfzs/avatar1.png" alt="二房东" class="w-155px h-155px mx-auto" />
            <div class="text-center text-size-22px text-black font-semibold mt-33px">二房东</div>
            <div class="text-size-18px leading-25px text-hex-666 mt-24px">房源覆盖率和曝光率低，手上房源多，却苦于无法被有需要的租客找到，希望能增加房源曝光率</div>
          </div>
          <div class="kehu-item">
            <img src="/images/product/tfzs/avatar2.png" alt="中介" class="w-155px h-155px mx-auto" />
            <div class="text-center text-size-22px text-black font-semibold mt-33px">中介</div>
            <div class="text-size-18px leading-25px text-hex-666 mt-24px">客源难寻，素手无策，掌握大量优质房源，却没有有效的客源线索，再好的房源也无处安放</div>
          </div>
          <div class="kehu-item">
            <img src="/images/product/tfzs/avatar3.png" alt="公寓管家" class="w-155px h-155px mx-auto" />
            <div class="text-center text-size-22px text-black font-semibold mt-33px">公寓管家</div>
            <div class="text-size-18px leading-25px text-hex-666 mt-24px">客源竞争力激烈，新客源越来越少，成交率不达标，导致绩效低下，主要是缺少精准的获取渠道</div>
          </div>
          <div class="kehu-item">
            <img src="/images/product/tfzs/avatar4.png" alt="有房出租的创业者" class="w-155px h-155px mx-auto" />
            <div class="text-center text-size-22px text-black font-semibold mt-33px">有房出租的创业者</div>
            <div class="text-size-18px leading-25px text-hex-666 mt-24px">好房没有时间打理，只想快速出租，坐收佣金！减少不合适的租客打扰</div>
          </div>
        </div>
      </div>
      <div class="mt-66px">
        <img src="/images/product/tfzs/opportunityImg.png" alt="机会把控" class="w-447px h-98px mx-auto" />
        <img src="/images/product/tfzs/opportunity1.png" alt="闲鱼租房" class="w-1200px h-250px mt-36px mx-auto" />
        <img src="/images/product/tfzs/opportunity2.png" alt="闲鱼端口带流量" class="w-1200px h-250px mt-30px mx-auto" />
      </div>
    </div>
    <div class="w-full contactBox">
      <div class="pt-42px">
        <img src="/images/product/tfzs/contactImg.png" alt="联系我们" class="w-447px h-98px mx-auto" />
      </div>
      <div class="text-size-28px text-white leading-40px opacity-70 mt-34px">想了解更多，您还可以通过以下方式咨询我们哟～</div>
      <div class="code-box">
        <div class="w-161px h-177px rounded-16px bg-hex-F8F9FB">
          <img src="/images/product/tfzs/codeImg.jpg" alt="二维码" class="w-146px h-146px rounded-16px mx-auto" />
          <div class="text-size-14px leading-20px text-hex-5A5A5A text-center">开端口引流找我</div>
        </div>
        <div class="ml-26px text-white text-left pt-30px">
          <div class="text-size-26px leading-40px font-semibold">助你掌握更多出房奥秘</div>
          <div class="leading-45px text-size-22px font-normal mt-22px">发房出房，营销获客，通通不再是难题</div>
        </div>
      </div>
    </div>
    <div class="relative w-1200px mx-auto overflow-visible pt-99px">
      <img src="/public/images/product/tfzs/portraitImg.png" alt="都在使用闲鱼端口" class="absolute w-309px h-451px -right-10px -top-287px z-0" />
      <div class="text-size-48px text-center text-hex-333 leading-67px font-semibold z-10">他们都在使用闲鱼端口</div>
      <div class="my-70px">
        <img src="/public/images/product/tfzs/theyImg.png" alt="企业" class="w-1194px h-330px mx-auto" />
        <div class="h-50px"></div>
      </div>
    </div>
  </div>
</template>

<style scoped>
.top-bg {
  background: url('/public/images/product/tfzs/trafficPortBg.png') no-repeat 0 0;
  background-size: 100% 100%;
}
.main-bg {
  min-width: 1200px;
  height: 660px;
  position: absolute;
  left: 0;
  top: -115px;
  background: url('/public/images/product/tfzs/trafficPortTop.png') no-repeat 0 0;
  background-size: 100% 100%;
  padding: 157px 0 0 120px;
}
.blur {
  -webkit-filter: blur(1.5px); /* Chrome, Opera */
  -moz-filter: blur(1.5px);
  -ms-filter: blur(1.5px);
  filter: blur(1.5px);
}
.kehu-item {
  width: 280px;
  height: 400px;
  background: #ffffff;
  box-shadow: 0px 0px 20px 0px rgba(0, 103, 220, 0.2);
  border-radius: 8px;
  padding: 23px 40px 0;
  text-align: center;
}
.contactBox {
  margin-top: 110px;
  position: relative;
  text-align: center;
  background: url('/public/images//product/tfzs/contactBoxBg.png') no-repeat;
  background-size: cover;
  background-size: 100% 100%;
  min-width: 1200px;
  height: 550px;
}
.code-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 25px;
  width: 850px;
  background: linear-gradient(180deg, #43bcf7 0%, #46a3fa 100%);
  border-radius: 16px;
  margin: 0 auto;
  margin-top: 66px;
}
</style>
